from farmakework.base_page import BasePage


class BaiduPage(BasePage):
    # 百度搜索文本框
    bd_text = ['id', 'kw']
    bd_click = ['id', 'su']

    def type_kw(self):
        self.send_keys(dwffys=self.bd_text, value='csdn')

    def click_su(self):
        self.onclick(dwffys=self.bd_click)






